package com.splashcard.tool.util;

/**@name CacheManager
 * @description
 * @author max
 * @date 2015-9-1
 */
public abstract class CacheDataHolderAbstract
{
	public final static int SAVE_SUCCESS = 0;
	public final static int SAVE_SUCCESS_BY_REPLACE = 1;
	public final static int SAVE_FAILE_OBJECT_NULL = 2;
	
	abstract public int saveData(String tag, Object data);
	abstract public Object getData(String tag);
	abstract public Object getData(String tag,Object Default);
	abstract public void cleanCache();
	abstract public int remove(String tag);
}
